package cn.com.nes.mybatis.callcenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 安装工单图片
 */
@Data
@TableName(value = "work_order_install_pic")
public class WorkOrderInstallPic {

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 安装工单id
     */
    @TableField(value = "work_order_install_id")
    private Long workOrderInstallId;

    /**
     * 图片短路径
     */
    @TableField(value = "path")
    private String path;

    /**
     * 图片字段名
     */
    @TableField(value = "field")
    private String field;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 逻辑删除
     */
    @TableField(value = "deleted")
    private Boolean deleted;

    /**
     * 创建人id
     */
    @TableField(value = "gmt_create_id")
    private Long gmtCreateId;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Date gmtCreate;

    /**
     * 修改人id
     */
    @TableField(value = "gmt_modified_id")
    private Long gmtModifiedId;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private Date gmtModified;

}
